﻿using BasicData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace BasicData.Write.API.Appplications.Commands
{
    /// <summary>
    /// 应用添加命令
    /// </summary>
    public class AppCreateCommand:IRequest<APIResult<int>>
    {
       
        /// <summary>
        /// 教室名称
        /// </summary>
        public string RoomName { get; set; }
        /// <summary>
        ///学校编号
        /// </summary>
        public int SchoolId { get; set; }
        /// <summary>
        /// 地址编号
        /// </summary>
        public int AddressId { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal RoomArea { get; set; }
        /// <summary>
        /// 房间描述
        /// </summary>
        public string RoomComment { get; set; }
        /// <summary>
        ///登录人编号
        /// </summary>

        public string? UserId { get; set; }
        /// <summary>
        /// 登录人名称
        /// </summary>
        public string? UserNickname { get; set; }
        //public Dictionary<string, string> CurrentUser { get; set; } = new Dictionary<string, string>();
    }
}
